<?php

require('IdNotExistException.php');
require('IllegalModelException.php');
require('MissingFieldException.php');

class ModelException extends Exception
{

    const ID_NOT_EXIST = 1;

    const ILLEGAL_MODEL = 2;

    const MISSING_FIELD = 3;

    function __construct($message, $code)
    {
        parent::__construct($message, $code);
    }
}
